package com.ruoyi.business.mapper;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.ruoyi.business.AccountDetail;
import com.ruoyi.business.bo.AccountBO;
import com.ruoyi.business.vo.AccountDetailVO;
import org.apache.ibatis.annotations.Param;

public interface AccountDetailMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(AccountDetail record);

    int insertSelective(AccountDetail record);

    AccountDetail selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(AccountDetail record);

    int updateByPrimaryKey(AccountDetail record);

    IPage<AccountDetailVO> queryPage(@Param("page") Page<AccountDetailVO> page, @Param("accountBO") AccountBO accountBO);
}